Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Return early if search string is empty #1458

Closed
wants to merge 2 commits into from

Conversation

tora-pan
Copy link
Contributor

Added catch for empty strings being passed in to return early.

Updated background.test.ts helper function sendMessageToBackground to take in optional text argument.

Fixes: #1417

@tora-pan tora-pan changed the title Tora pan/ruby text hover bug fix: Return early if search string is empty Mar 14, 2023
@codecov
Copy link

codecov bot commented Mar 14, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@d7c4c8f). Click here to learn what that means.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1458   +/-   ##
=======================================
  Coverage        ?   79.65%           
=======================================
  Files           ?        7           
  Lines           ?     3008           
  Branches        ?      189           
=======================================
  Hits            ?     2396           
  Misses          ?      607           
  Partials        ?        5           
Impacted Files Coverage Δ
extension/background.ts 77.64% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@tora-pan
Copy link
Contributor Author

Closing as changes have been captured on this pr

@tora-pan tora-pan closed this Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hovering over ruby text pops up orangatang kanji
1 participant